package io.modifier.basic.compose.hooks.android.usedeviceinfo

import android.os.Build
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.remember

@Composable
fun useBuildInfo(): BuildInfo = remember { BuildInfo(Build.BRAND, Build.MODEL, Build.VERSION.RELEASE) }

@Stable
data class BuildInfo(val brand: String, val model: String, val release: String)
